<template>
  <h1>首页</h1>
  <button @click="count++">{{ count }}</button>
</template>

<script setup lang='ts'>
import { ref, reactive, onActivated } from 'vue'
const count = ref(0)


onActivated(() => {
  console.log('w')
})

</script>

<style lang='scss' scoped>

</style>